<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
   <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@include file="/WEB-INF/views/Partial/LayoutEdit.jsp"%>
<title>员工详情</title>
<style type="text/css">
    .hifno {
        display: inline-block;
        width: 45%;
    }

    .mgin {
        margin: 6px;
        border-bottom: 1px solid black;
    }
</style>
</head>
<body>
<form action="" method="POST" id="mainForm" >
<input type="hidden" value="${employee.id}" name="id"/>

  <div class="space-12"></div>
  <div class="row">
        <div class="form-group">
            <div class="col-xs-6"> <label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 员工姓名 </label>
         <input type="text" id="form-field-1" name="name" value="${employee.name}" placeholder="员工姓名" />            
                    <label style="color:red">*</label></div>
            <div class="col-xs-6">    <label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 员工登陆名 </label>
                    <input type="text" id="form-field-1" name="logname"  value="${employee.logname}" placeholder="员工登陆名 " /> </div>
        </div>
        
    </div>
     <div class="space-12"></div>
   <div class="row">
        <div class="form-group">
            <div class="col-xs-6"> <label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 员工头像 </label>
                    <input type="text" id="form-field-1" name="userimg"  value="${employee.userimg}" placeholder="员工头像 " /></div>
                          <div class="col-xs-6">
                    <label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 出生年月 </label>
                    <input type="text" id="form-field-1" name="birthday"  class="wdate" onfocus="WdatePicker({ skin: 'default', dateFmt: 'yyyy-MM-dd HH:mm:ss'})" value="<fmt:formatDate pattern='yyyy-MM-dd HH:mm:ss' value='${employee.birthday}'/>"  placeholder="出生年月" />            
                    <label style="color:red">*</label></div>
        </div>
        
    </div>
    
     <div class="space-12"></div>
      <div class="row">
        <div class="form-group">
      
            <div class="col-xs-6"><label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 员工性别 </label>
                    <input type="text" id="form-field-1" name="sex"  value="${employee.sex}" placeholder="员工性别" /> </div>
            <div class="col-xs-6"> <label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 创建时间 </label>
           <input type="text" id="form-field-1"  name="createtime" style="" class="wdate"
			onfocus="WdatePicker({ skin: 'default', dateFmt: 'yyyy-MM-dd HH:mm:ss'})" value="<fmt:formatDate pattern='yyyy-MM-dd HH:mm:ss' value='${employee.createtime}'/>" placeholder="创建时间 " /></div>
        </div>
        
    </div>
      <div class="space-12"></div>
      <div class="row">
        <div class="form-group">
      
            <div class="col-xs-6"><label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 员工电话 </label>
                    <input type="text" id="form-field-1" name="telephone"  value="${employee.telephone}" placeholder="员工电话" /> </div>
            <div class="col-xs-6"> <label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 员工邮箱</label>
           <input type="text" id="form-field-1"  name="email" style="" class=""  value="${employee.email}" placeholder="员工邮箱" /></div>
        </div>
        
    </div>
     <div class="space-12"></div>
<div class="row">
           <div class="form-group">
                <div class="col-sm-6">
                    <label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 离职时间 </label>
                    <input type="text" id="form-field-1"  name="leavetime" class="wdate" onfocus="WdatePicker({ skin: 'default', dateFmt: 'yyyy-MM-dd HH:mm:ss'})" value="<fmt:formatDate pattern='yyyy-MM-dd HH:mm:ss' value='${employee.leavetime}'/>"  placeholder="离职时间" />            
                    <label style="color:red"></label>

                </div>
                <div class="col-sm-6">
                    <label class="col-sm-4 control-label no-padding-right"  for="form-field-1"> 员工状态 </label>
                    <input type="text" id="form-field-1" value="${employee.status}" name="status"  placeholder="员工状态 " />                
                </div>
            </div>    
    </div>
     <div class="space-12"></div>
    <div class="row">
           <div class="form-group">

                <div class="col-sm-12">
                    <label class="col-sm-2 control-label no-padding-right"  for="form-field-1"> 备注 </label>
                     <textarea id="form-field-1" placeholder="备注"   name="remark">${employee.remark}</textarea>
                </div>
            </div>    
    </div>
    </form>
    <script type="text/javascript">

    publicchecked.validted = function () {
        var flag = true;

        return flag;
    }

</script>
<%@include file="/WEB-INF/views/Partial/EditBtn.jsp"%>
</body>
</html>